package com.qqtech.qquan.user.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class UserIdentity extends BaseDomain{

	//columns START
    /** 用户id,与base的id一致 */
	private java.lang.Integer userId;
    /** 帐号(手机号或email) */
	private java.lang.String identity;
    /** 帐号类型:1-手机号;2-email */
	private java.lang.Integer type;
	//columns END
	public UserIdentity(){
	}

	public UserIdentity( java.lang.Integer id ){
		this.id = id;
	}

	public void setUserId(java.lang.Integer userId) {
		this.userId = userId;
	}

	public java.lang.Integer getUserId() {
		return this.userId;
	}
	
	public void setIdentity(java.lang.String identity) {
		this.identity = identity;
	}

	public java.lang.String getIdentity() {
		return this.identity;
	}
	
	public void setType(java.lang.Integer type) {
		this.type = type;
	}

	public java.lang.Integer getType() {
		return this.type;
	}
	

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

